#include "singleton.hpp"
using namespace ns_singleton;

int main()
{
    //HeapOnly* ho = HeapOnly::CreateObj();
    //HeapOnly ho1;

    //StackOnly so = StackOnly::CreateObj();
    //StackOnly* so1 = new StackOnly();
    //StackOnly* so2 = new StackOnly(so);

    // A a(1);
    // A ab(2);
    // a = ab;

    //singleton sg;
    //singleton* sg = new singleton();
    //singleton* sg = singleton::GetInstance();
    //singleton& sg = singleton::GetInstance();

    //singleton* sg = singleton::GetInstance();
    singleton& sg = singleton::GetInstance();

    return 0;
}